// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// fastclick用来解决移动端click时间300毫秒点击延迟的问题
import fastClick from 'fastclick'

import VueAwesomeSwiper from 'vue-awesome-swiper'

import store from './store'

// 对基础样式的修饰，保证所有浏览器显示的效果基本一致
import 'styles/reset.css'
// 为了解决多倍屏1像素边框会被显示成多元素的问题
import 'styles/border.css'
// icon图标库使用
import 'styles/iconfont.css'

import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false
fastClick.attach(document.body)

Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
